package com.ym.medical.domain.param;

import com.ym.common.annotations.CustomConstraint;
import com.ym.medical.enums.CommentTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * 用户点赞对象 user_like_record
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel(value = "用户点赞-查询")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class UserLikeRecordQueryParam {

    @ApiModelProperty("板块")
    @CustomConstraint(CommentTypeEnum.class)
    private String plate;

    @ApiModelProperty("相关记录ID")
    private Long recordId;

    @ApiModelProperty("点赞人")
    private Long upPerson;

    @ApiModelProperty("创建时间")
    private Date creTime;

    @ApiModelProperty("ids")
    private Long[] ids;
}
